Modularize MCP server by implementing tool definitions, stateless req…#7598
Merged
Conversation
…uest handling, and extended test coverage
Closed
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 7426_mcp-scaffolding #7598 +/- ##
========================================================
+ Coverage 76.31% 76.37% +0.05%
========================================================
Files 416 418 +2
Lines 22184 22236 +52
Branches 5873 5877 +4
========================================================
+ Hits 16930 16982 +52
Misses 5254 5254
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…dularity and organization
…7429_mcp-endpoint-handler
n-lark
approved these changes
Jun 30, 2026
cstns
commented
Jul 1, 2026
| */ | ||
| app.post('/', async (request, reply) => { | ||
| reply.code(501).send({ code: 'not_implemented', error: 'MCP endpoint not yet implemented' }) | ||
| const server = new McpServer( |
Contributor
Author
There was a problem hiding this comment.
We will either disable (return 405's) or completely remove the http endpoints implemented here as 3rd party access is not a priority for the time being
Co-authored-by: Steve-Mcl <sdmclaughlin@gmail.com> Co-authored-by: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com> Co-authored-by: Andrea Palmieri <76187074+andypalmi@users.noreply.github.com> Co-authored-by: andypalmi <andrea@flowfuse.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fills in the MCP server route shell from #7426 with the actual endpoint handler. External AI agents can now connect to POST /api/v1/mcp and get real MCP protocol responses.
Builds on #7426. Tool definitions for the remaining domains (applications, instances, snapshots, devices, catalog, navigation) are tracked in #7430.
Related Issue(s)
closes #7429
Checklist
flowforge.yml?FlowFuse/helmto update ConfigMap TemplateFlowFuse/CloudProjectto update values for Staging/ProductionLabels
area:migrationlabel